package com.example.hobbyplanetserve;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

@SpringBootApplication
@MapperScan("com.example.hobbyplanetserve.mapper")
public class HobbyPlanetServeApplication {

    public static void main(String[] args) {
        SpringApplication.run(HobbyPlanetServeApplication.class, args);

//      PasswordEncoder passwordEncoder = new BCryptPasswordEncoder(4);
//        String encodedPassword = passwordEncoder.encode("123456");
//
//        System.out.println(encodedPassword);
    }

}
